.class Lcom/waiqin365/base/login/bm;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:Lcom/waiqin365/base/login/LoginMainActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/base/login/LoginMainActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/base/login/bm;->a:Lcom/waiqin365/base/login/LoginMainActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 2

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :goto_0
    :sswitch_0
    iget-object v0, p0, Lcom/waiqin365/base/login/bm;->a:Lcom/waiqin365/base/login/LoginMainActivity;

    # getter for: Lcom/waiqin365/base/login/LoginMainActivity;->menuPopupWindow:Landroid/widget/PopupWindow;
    invoke-static {v0}, Lcom/waiqin365/base/login/LoginMainActivity;->access$4100(Lcom/waiqin365/base/login/LoginMainActivity;)Landroid/widget/PopupWindow;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/PopupWindow;->dismiss()V

    return-void

    :sswitch_1
    iget-object v0, p0, Lcom/waiqin365/base/login/bm;->a:Lcom/waiqin365/base/login/LoginMainActivity;

    iget-object v0, v0, Lcom/waiqin365/base/login/LoginMainActivity;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/utils/l;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/im/utils/l;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/base/login/bm;->a:Lcom/waiqin365/base/login/LoginMainActivity;

    # getter for: Lcom/waiqin365/base/login/LoginMainActivity;->menuView:Lcom/waiqin365/lightapp/im/widget/c;
    invoke-static {v1}, Lcom/waiqin365/base/login/LoginMainActivity;->access$4000(Lcom/waiqin365/base/login/LoginMainActivity;)Lcom/waiqin365/lightapp/im/widget/c;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/im/widget/c;->e()Lcom/hyphenate/chat/EMConversation;

    move-result-object v1

    invoke-virtual {v1}, Lcom/hyphenate/chat/EMConversation;->getUserName()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/im/utils/l;->d(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/base/login/bm;->a:Lcom/waiqin365/base/login/LoginMainActivity;

    iget-object v1, p0, Lcom/waiqin365/base/login/bm;->a:Lcom/waiqin365/base/login/LoginMainActivity;

    # getter for: Lcom/waiqin365/base/login/LoginMainActivity;->menuView:Lcom/waiqin365/lightapp/im/widget/c;
    invoke-static {v1}, Lcom/waiqin365/base/login/LoginMainActivity;->access$4000(Lcom/waiqin365/base/login/LoginMainActivity;)Lcom/waiqin365/lightapp/im/widget/c;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/im/widget/c;->d()I

    move-result v1

    # invokes: Lcom/waiqin365/base/login/LoginMainActivity;->cancelChatUp(I)V
    invoke-static {v0, v1}, Lcom/waiqin365/base/login/LoginMainActivity;->access$3400(Lcom/waiqin365/base/login/LoginMainActivity;I)V

    goto :goto_0

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/base/login/bm;->a:Lcom/waiqin365/base/login/LoginMainActivity;

    iget-object v1, p0, Lcom/waiqin365/base/login/bm;->a:Lcom/waiqin365/base/login/LoginMainActivity;

    # getter for: Lcom/waiqin365/base/login/LoginMainActivity;->menuView:Lcom/waiqin365/lightapp/im/widget/c;
    invoke-static {v1}, Lcom/waiqin365/base/login/LoginMainActivity;->access$4000(Lcom/waiqin365/base/login/LoginMainActivity;)Lcom/waiqin365/lightapp/im/widget/c;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/im/widget/c;->d()I

    move-result v1

    # invokes: Lcom/waiqin365/base/login/LoginMainActivity;->setChatUp(I)V
    invoke-static {v0, v1}, Lcom/waiqin365/base/login/LoginMainActivity;->access$3300(Lcom/waiqin365/base/login/LoginMainActivity;I)V

    goto :goto_0

    :sswitch_2
    iget-object v0, p0, Lcom/waiqin365/base/login/bm;->a:Lcom/waiqin365/base/login/LoginMainActivity;

    iget-object v1, p0, Lcom/waiqin365/base/login/bm;->a:Lcom/waiqin365/base/login/LoginMainActivity;

    # getter for: Lcom/waiqin365/base/login/LoginMainActivity;->menuView:Lcom/waiqin365/lightapp/im/widget/c;
    invoke-static {v1}, Lcom/waiqin365/base/login/LoginMainActivity;->access$4000(Lcom/waiqin365/base/login/LoginMainActivity;)Lcom/waiqin365/lightapp/im/widget/c;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/im/widget/c;->d()I

    move-result v1

    # invokes: Lcom/waiqin365/base/login/LoginMainActivity;->deleteChat(I)V
    invoke-static {v0, v1}, Lcom/waiqin365/base/login/LoginMainActivity;->access$3500(Lcom/waiqin365/base/login/LoginMainActivity;I)V

    goto :goto_0

    nop

    :sswitch_data_0
    .sparse-switch
        0x7f0c0084 -> :sswitch_0
        0x7f0c03cb -> :sswitch_1
        0x7f0c03cc -> :sswitch_2
    .end sparse-switch
.end method
